package com.maimang.platform.common.utils;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname UserUtil
 * @description <br>用户身份判别</br>
 * @date 2019-11-01 15:40
 * @email jintaozhao@qq.com
 */
public class UserUtil {

	/**
	 * 根据用户名判断是否是销管
	 *
	 * @param userName 用户名
	 * @return
	 */
	public static boolean isSaleManager(String userName) {
		String baseName = "田洋,马琳,雷洁琼,吴燕,赵锦涛,赵泉,闫蕾";
		if (baseName.indexOf(userName) != -1) {
			return true;
		}
		return false;
	}

}
